Zepto(function($) {
  //底部导航栏选择切换
  $(".foot").on("click","a",function (e) {
    if($(this).is(".active")){
      return
    }
    $(".foot>a").removeClass("active");
    $(this).addClass('active');
    if($(this).find("p").html() == "冰果优品"){
      window.location.href = "/index/index.html"
    }
    if($(this).find("p").html() == "购物车"){
      window.location.href = "/usercenter/cart.html"
    }
    if($(this).find("p").html() == "我的冰果"){
      window.location.href = "/usercenter/member.html"
    }
  })
});